package o;

import com.huawei.appgallery.serverreqkit.api.bean.ResponseBean;
import com.huawei.appgallery.serverreqkit.api.listener.IServerCallBack;
import com.huawei.appmarket.service.appdetail.bean.report.GeneralResponse;

public class dzo {

    public interface a {
        void ˊ(String str);
    }

    static class d implements IServerCallBack {
        private a ˎ;

        public d(a aVar) {
            this.ˎ = aVar;
        }

        public void prePostResult(BaseRequest o_cvu, ResponseBean responseBean) {
        }

        public void notifyResult(BaseRequest o_cvu, ResponseBean responseBean) {
            if ((responseBean instanceof GeneralResponse) && responseBean.getResponseCode() == 0 && responseBean.getRtnCode_() == 0) {
                GeneralResponse generalResponse = (GeneralResponse) responseBean;
                if (!(generalResponse.ˊ() == null || generalResponse.ˊ().ˏ() == null || generalResponse.ˊ().ˏ().ˊ() == null || this.ˎ == null)) {
                    this.ˎ.ˊ(generalResponse.ˊ().ˏ().ˊ());
                    return;
                }
            }
            if (this.ˎ != null) {
                this.ˎ.ˊ(null);
            }
        }
    }

    public static void ˎ(a aVar) {
        cfw.ˎ(new drh("customerServiceEmail"), new d(aVar));
    }
}
